# Reference: https://postmarketos.org/uipkg
# Maintainer: Willow Barraco <contact@willowbarraco.fr>
# Co-Maintainer: Anjandev Momi <anjan@momi.ca>
# Co-Maintainer: Maarten van Gompel <proycon@anaproy.nl>
# Co-Maintainer: Aren Moynihan <aren@peacerevolution.org>
pkgname=postmarketos-ui-sxmo-de-sway
pkgver=1.17.1 # Bump this so the file names in bpo are correct
pkgrel=2
pkgdesc="Simple Mobile: Mobile environment based on SXMO and running on sway"
url="http://sr.ht/~mil/Sxmo"
# riscv64: builder currently stuck, libphonenumber needs rebuild
arch="noarch !armhf !riscv64"
license="AGPL-3.0-only"
depends="
	postmarketos-base-ui
	postmarketos-base-ui-networkmanager

	sxmo-utils-sway
	sxmo-utils-audio-bluetooth

	seatd-openrc
	tinydm-openrc
	modemmanager-openrc
	networkmanager-openrc
	bluez-openrc
	iio-sensor-proxy-openrc
	"
install="
	$pkgname.post-install
	$pkgname.post-upgrade
	"
_pmb_groups="
	seat
	"
_pmb_recommends="
	w3m
	sfeed

	adwaita-icon-theme
	clickclack
	firefox-esr
	imv
	mobile-config-firefox
	postmarketos-artwork-wallpapers
	ttyescape
	"
provides="postmarketos-ui-sxmo"
provider_priority=10
options="!check pmb:systemd-never"

package() {
	mkdir -p "$pkgdir"
	mkdir -p "$pkgdir"/etc/sway/config.d
}
